package com.cs2.volunteerpostbackend.web.vo.comment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;

public class CommentByPage {
    private String id;
    private String commenterId;  // 评论人id
    private String content;  // 评论内容
    private Long createTime;  // 创建时间

    @JsonIgnore
    private String uId;
    @JsonIgnore
    private String uName;
    @JsonIgnore
    private String uAccount;
    @JsonIgnore
    private String uLocation;

    private User2 userinfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCommenterId() {
        return commenterId;
    }

    public void setCommenterId(String commenterId) {
        this.commenterId = commenterId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public User2 getUserinfo() {
        return userinfo;
    }
    @JsonIgnore
    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }
    @JsonIgnore
    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }
    @JsonIgnore
    public String getuAcount() {
        return uAccount;
    }

    public void setuAcount(String uAcount) {
        this.uAccount = uAcount;
    }
    @JsonIgnore
    public String getuLocation() {
        return uLocation;
    }

    public void setuLocation(String uLocation) {
        this.uLocation = uLocation;
    }

    public void setUserinfo(User2 userinfo) {
        this.userinfo = userinfo;
    }
}
